package com.linrui.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.linrui.basic.domain.BaseDomain;

/**
 * <p>
 * 
 * </p>
 *
 * @author linrui
 * @since 2022-10-25
 */
public class OrderProduct extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private BigDecimal price;
    private String description;
    private Long typeId;
    private String resource;
    private Long orderId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "OrderProduct{" +
        ", id=" + id +
        ", name=" + name +
        ", price=" + price +
        ", description=" + description +
        ", typeId=" + typeId +
        ", resource=" + resource +
        ", orderId=" + orderId +
        "}";
    }
}
